On Fri, Nov 03, 2023 at 01:16:15PM +0100, Wolfgang Schuster wrote:
> > \starttext
> > Hello world!
> > \startformula
> > X(f) = \startcases[align={right,left},distance=3pt]
> > \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
> > \NC 0, \NC{} $|f|
+dfsg-2, several math
features seem to break for me. Here is an example:
\starttext
Hello world!
\startformula
X(f) = \startcases[align={right,left},distance=3pt]
\NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
\NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
\stopcases
\stopformula
\stoptext
There
. Here is an example:
\starttext
Hello world!
\startformula
X(f) = \startcases[align={right,left},distance=3pt]
\NC T, \NC{} $|f| < \frac{1}{2T}$ \NR
\NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR
\stopcases
\stopformula
\stoptext
The above works very well in 2021.03.05.20230120+dfsg-1+deb1
}^{1} f(x) dx$
> >>> \stopTEXpage
> >>> \stoptext
> >>>
> >>> gives the attached result.
> >>
> >> This is because the integral "sits wrong" in its boundingbox. Almost
> >> all fonts have the glyph centered around the math a
k
{
tweak = "fixoldschool",
},
This fixes the issue with eulernova, but not with pagellaovereuler.
pagellaovereuler uses euler-with-pagella-math as a goodie file, but that is
missing from the distribution. (I simply copied euler-math.lfg for my use case).
With tweak=fixoldschool,
tweak = "fixoldschool",
> },
This fixes the issue with eulernova, but not with pagellaovereuler.
pagellaovereuler uses euler-with-pagella-math as a goodie file, but that is
missing from the distribution. (I simply copied euler-math.lfg for my use
case).
With tweak=fixoldschool, \startc
Hi Aditya and Mikael,
Indeed in some situations it is useful to number each equation appearing in
formulas grouped with \startcases, and one can construct a structure allowing
this, as in the example below which is not satisfactory. I am sure Hans can
find a better solution…
Here is a working
ign (I didn’t get immediately that « sesac » in the
> > command \startmathfenced[sesac] means « cases » in reverse or mirrored… I
> > guess this is a wise and humourous choice by Hans :-) ).
>
> I guess so too :)
>
> >
> > Regarding \startcases, it seems that it i
rse or mirrored… I
> guess this is a wise and humourous choice by Hans :-) ).
I guess so too :)
>
> Regarding \startcases, it seems that it is still not possible to number each
> equation, but I may be overlooking something. I’ll try a few examples and
> will let you know,
Hi Mikael,
Thanks for your explanation and the example you sent about
\definemathsimplealign (I didn’t get immediately that « sesac » in the command
\startmathfenced[sesac] means « cases » in reverse or mirrored… I guess this is
a wise and humourous choice by Hans :-) ).
Regarding \startcases
On Thu, 22 Jul 2021, Jack Hill wrote:
> Dear list,
>
> I'm using ConTeXt version 2021.07.22 19:16 and the following code
> typesets both columns in math mode
>
> \starttext
> \startformula
> \delta_{ij} =
> \startcases
> \NC 1 \NC if i = j \NR
> \NC
Dear list,
I'm using ConTeXt version 2021.07.22 19:16 and the following code
typesets both columns in math mode
\starttext
\startformula
\delta_{ij} =
\startcases
\NC 1 \NC if i = j \NR
\NC 0 \NC otherwise \NR
\stopcases
\stopformula
\stoptext
The wiki states that the second column should
tartformula
> x=
>\startcases[align={right,left},distance=3pt]
>\NC a \NC =
>\startcases[align={right,left},distance=3pt]
>\NC 1 \NC \text{case a1} \NR
>\NC 2 \NC \text{case a2} \NR
&g
Hello,
Is it possible to nest cases in math, like so:
\starttext
\startformula
x=
\startcases[align={right,left},distance=3pt]
\NC a \NC =
\startcases[align={right,left},distance=3pt]
\NC 1 \NC \text{case a1} \NR
t;Label" at all.
The syntax with \start, \stop works fine but has a nasty effect on the next
TABLE if it uses TH (check attached pdf).
Thank you for your help
PS @Hans, thanks for adding \TB to \startcases, it works perfectly well.
--
Jean-Philippe Rey
jean-philippe@centralesupelec.fr
On 11/13/2020 4:21 PM, Jean-Philippe Rey wrote:
Dear list,
I am trying to switch from MKIV to LMTX. I've just found a discrepancy with the
following code which puts space between two lines in a math alignment. This
minimum breaking example uses \startcases, but the same problem arises
Dear list,
I am trying to switch from MKIV to LMTX. I've just found a discrepancy with the
following code which puts space between two lines in a math alignment. This
minimum breaking example uses \startcases, but the same problem arises with
other alignment macros.
\starttext
\startformula
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari
wrote:
> Hi everyone,
>
> I can't get cases subformula to work properly. My MWE, inspired from the
> wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is :
>
> \starttext\placeformula\startformula
>
Hi everyone,
I can't get cases subformula to work properly. My MWE, inspired from the
wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is :
\starttext\placeformula\startformula
\startcases
\NC x = a \NR[+]
\NC y = b \NR[+]
\stopcases\stopformul
On Mon, 15 Sep 2014, Maggyero wrote:
I want to have the formula numbers of cases environment flushed on the
right like for regular formulas (not the default
numberdistance=2.5\emwidth). How can I do that?
\starttext
\startplaceformula
\startformula
\startcases
\NC x = 1
I want to have the formula numbers of cases environment flushed on the
right like for regular formulas (not the default
numberdistance=2.5\emwidth). How can I do that?
\starttext
\startplaceformula
\startformula
\startcases
\NC x = 1 \NR[+]
\NC y = 1 \NR
?
\starttext
\startformula
\startcases
\NC 2x - 2y = 0 \NR
\NC 4x - 2y = 2 \NR
\stopcases
\stopformula
\stoptext
See http://dl.contextgarden.net/myway/mathalign.pdf
MarcoOn 2013–08–22 Xan wrote:
Simple question: what is the equivalent of:
\begin{equation*}
\left
On 2013–08–22 Xan wrote:
Simple question: what is the equivalent of:
\begin{equation*}
\left\{ \begin{aligned}
2x - 2y = 0\\
4x - 2y = 2
\end{aligned} \right.
\end{equation*}
in ConTeXt?
\starttext
\startformula
\startcases
\NC 2x - 2y = 0 \NR
\NC 4x - 2y = 2 \NR
[eq:other-equation]. Still doesn't work.
\startformula
\startcases
\NC E = mc^2 \NC some text\NR
\NC E = mc^2 \NC some more text\NR
\stopcases
\stopformula
\stoptext
Thanks.
[1] http://dl.contextgarden.net/myway/mathalign.pdf
-- Cédric
I am pretty sure there is a better way
example:
\starttext
My equation \in[eq:equation] and my other equation \in[eq:other-equation].
\placeformula[eq:equation]
\startformula
E = mc^2
\stopformula
\placeformula[eq:equation]
Typo \placeformula[eq:other-equation]. Still doesn't work.
\startformula
\startcases
\NC E = mc^2 \NC
\stopformula
\placeformula[eq:equation]
Typo \placeformula[eq:other-equation]. Still doesn't work.
\startformula
\startcases
\NC E = mc^2 \NC some text\NR
\NC E = mc^2 \NC some more text\NR
\stopcases
\stopformula
\stoptext
Thanks.
[1] http://dl.contextgarden.net/myway/mathalign.pdf
per-line, just a regular number would do.
Minimal example:
\starttext
My equation \in[eq:equation] and my other equation \in[eq:other-equation].
\placeformula[eq:equation]
\startformula
E = mc^2
\stopformula
\placeformula[eq:equation]
\startformula
\startcases
\NC E = mc^2 \NC some text
On Mon, 27 Sep 2010 21:07:18 -0400, Aditya Mahajan wrote:
On Tue, 28 Sep 2010, Martin 'golodhrim' Scholz wrote:
Hi everyone,
I've got one big question,
if I type something like
\startcases
\NC A \NC B\NR
\NC C \NC D
\stopcases
Both the A and B are left justified and I would
Hi everyone,
I've got one big question,
if I type something like
\startcases
\NC A \NC B\NR
\NC C \NC D
\stopcases
Both the A and B are left justified and I would like to have them
horizontally centered above the C and D. Is there a way to do so
without a matrix usage
On Tue, 28 Sep 2010, Martin 'golodhrim' Scholz wrote:
Hi everyone,
I've got one big question,
if I type something like
\startcases
\NC A \NC B\NR
\NC C \NC D
\stopcases
Both the A and B are left justified and I would like to have them
horizontally centered above the C and D
on page:
\starttext
\startformula
a+b
\stopformula
\stoptext
10.) Different square root shape/variant used:
$\frac{1}{\sqrt{2πσ_i^2}}$
Original formula:
\startformula
\startcases
\NC ρ_0, \NC for $i=0$, \NR
\NC
ρ_i\,\frac{1}{\sqrt{2πσ_i^2}}\exp\biggl(-\frac{\left(x_j-μ_i\right)^2}{2σ_i^2}\biggr
.) Note the big difference of when the formula starts vertically on page:
\starttext
\startformula
a+b
\stopformula
\stoptext
interesting, i need to look into that
10.) Different square root shape/variant used:
$\frac{1}{\sqrt{2πσ_i^2}}$
Original formula:
\startformula
\startcases
\NC ρ_0, \NC
$\boldsymbol{\theta}$
\stoptext
9.) Note the big difference of when the formula starts vertically on page:
\starttext
\startformula
a+b
\stopformula
\stoptext
10.) Different square root shape/variant used:
$\frac{1}{\sqrt{2πσ_i^2}}$
Original formula:
\startformula
\startcases
\NC ρ_0, \NC for $i
Aditya Mahajan wrote:
10.) Different square root shape/variant used:
$\frac{1}{\sqrt{2πσ_i^2}}$
Original formula:
\startformula
\startcases
\NC ρ_0, \NC for $i=0$, \NR
\NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}}
\exp\biggl(-\frac{\left(x_j-μ_i\right)^2}{2σ_i^2}\biggr), \NC for
$i\in\left\{1,2\right
On Wed, 12 May 2010, Taco Hoekwater wrote:
Aditya Mahajan wrote:
10.) Different square root shape/variant used:
$\frac{1}{\sqrt{2πσ_i^2}}$
Original formula:
\startformula
\startcases
\NC ρ_0, \NC for $i=0$, \NR
\NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}}
\exp\biggl(-\frac{\left(x_j-μ_i\right)^2
Aditya Mahajan wrote:
On Wed, 12 May 2010, Taco Hoekwater wrote:
Aditya Mahajan wrote:
10.) Different square root shape/variant used:
$\frac{1}{\sqrt{2πσ_i^2}}$
Original formula:
\startformula
\startcases
\NC ρ_0, \NC for $i=0$, \NR
\NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}}
\exp\biggl(-\frac
]
\starttext
We define, for real $x$, the absolute value of $x$ as
\startformula
|x|=
\startcases
\NC \hphantom{-}x \MC x\geq 0,\NR
\NC -x \MC x0.\NR
\stopcases
\stopformula
Also let $\alpha$, $\beta$ and $\Gamma$ be\dots
\stoptext
The output can be found at
http://home.imf.au.dk/mickep
[charter][mm][math] [charter] [default]
\setupbodyfont[charter,10pt]
\starttext
We define, for real $x$, the absolute value of $x$ as
\startformula
|x|=
\startcases
\NC \hphantom{-}x \MC x\geq 0,\NR
\NC -x \MC x0.\NR
\stopcases
\stopformula
Also let $\alpha$, $\beta$ and $\Gamma$ be\dots
|=
\startcases
\NC \hphantom{-}x \MC x\geq 0,\NR
\NC -x \MC x0.\NR
\stopcases
\stopformula
Also let $\alpha$, $\beta$ and $\Gamma$ be\dots
\stoptext
The output can be found at
http://home.imf.au.dk/mickep/mdesign.pdf
Typesetting a similar document with LaTeX I get italic math (note also
\NC \NC = (x_1^{-1} r_1 x_1)\cdots (x_N^{-1} r_N x_N) \cdot (y_1^{-1} s_1
y_1) \cdots (y_M^{-1} s_M y_M) \NR
\NC \NC = \prod_{k=1}^{M+N} z_k^{-1} t_k z_k
\stopsplit \stopformula
on
\startformula
z_k = \startcases
\NC x_k\MC 1 \leq k \leq N \NR
\NC y_{k-N} \MC N+1 \leq k \leq N+M
(x_N^{-1} r_N x_N) \cdot (y_1^{-1}
s_1 y_1) \cdots (y_M^{-1} s_M y_M) \NR
\NC \NC = \prod_{k=1}^{M+N} z_k^{-1} t_k z_k
\stopsplit \stopformula
on
\startformula
z_k = \startcases
\NC x_k\MC 1 \leq k \leq N \NR
\NC y_{k-N} \MC N+1 \leq k \leq N+M, \NR
\stopcases t_k = \startcases
= (x_1^{-1} r_1 x_1)\cdots (x_N^{-1} r_N x_N) \cdot (y_1^{-1}
s_1 y_1) \cdots (y_M^{-1} s_M y_M) \NR
\NC \NC = \prod_{k=1}^{M+N} z_k^{-1} t_k z_k
\stopsplit \stopformula
on
\startformula
z_k = \startcases
\NC x_k\MC 1 \leq k \leq N \NR
\NC y_{k-N} \MC N+1 \leq k \leq N+M, \NR
\stopcases
Hi,
I have this:
\startformula
z_k = \startcases
\NC x_k\MC 1 \leq k \leq N \NR
\NC y_{k-N} \MC N+1 \leq k N+M \NR
\stopcases t_k = \startcases
\NC r_k\MC 1 \leq k \leq N \NR
\NC s_{k-N} \MC N+1 \leq k N+M \NR
\stopcases
\stopformula
but I want to punctuate that.
When
On Sun, 24 May 2009, Xan wrote:
Hi,
I have this:
\startformula
z_k = \startcases
\NC x_k\MC 1 \leq k \leq N \NR
\NC y_{k-N} \MC N+1 \leq k N+M \NR
\stopcases t_k = \startcases
\NC r_k\MC 1 \leq k \leq N \NR
\NC s_{k-N} \MC N+1 \leq k N+M \NR
\stopcases
\stopformula
but I
\stopformula
I remember the same problem in \startcases in the past that got fixed.
Thanks for considering,
Mojca
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
Hi everyone,
This question is primarily intended for Aditya… but I guess other
fellows on the list can also help me solve the following alignment
problem:
Is it possible to have an alignment like the rsult of the following
with \startcases...\stopcases?
\starttext
\startformula
On Mon, 19 Jan 2009, Otared Kavian wrote:
Hi everyone,
This question is primarily intended for Aditya… but I guess other fellows on
the list can also help me solve the following alignment problem:
Is it possible to have an alignment like the rsult of the following with
\startcases
On 19 janv. 09, at 15:38, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[...]
So my question is: whether one can use \startcases ...\stopcases
instead of \startmatrix ... \stopmatrix in order to obtain the
result of the plain TeX example?
No, but there is not much
On Mon, 19 Jan 2009, Otared Kavian wrote:
On 19 janv. 09, at 15:38, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[...]
So my question is: whether one can use \startcases ...\stopcases instead
of \startmatrix ... \stopmatrix in order to obtain the result of the plain
On 19 janv. 09, at 19:49, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[…]
Should I add this to the wiki?
Please do.
Aditya
Done:
http://wiki.contextgarden.net/\startcases
Best regards: OK
}$.
\startformula
\hat{f}(x)=
\startcases
\NC x \MC x0\NR
\NC -x \MC x0\NR
\stopcases
\stopformula
\stoptext
%%%
Could this \enablemathcollection[fou] go somewhere else?
Best regards, Mikael
___
If your question is of interest
be small (like in cases), not so big as in
align.
How to do this?
I do not completely understand what you want. Do the following give the
desired output.
\starttext
\startformula
\startcases[align={right,left},distance=3pt]
\NC 2x + 3y \MC{} = 10 \NR
\NC 3x + 2y \MC{} = 5 \NR
like align. Also, I'd like to have the vertical
space between the equations be small (like in cases), not so big as in
align.
How to do this?
I do not completely understand what you want. Do the following give the
desired output.
Sorry;).
\starttext
\startformula
\startcases[align
\startformula
\startcases[align={right,left},distance=3pt]
\NC 2x + 3y \MC{} = 10 \NR
\NC 3x + 2y \MC{} = 5 \NR
\stopcases
\stopformula
\startformula
\startmatrix[align={right,left},distance=3pt,left={\left\{},
right={\right.}]
\NC 2x + 3y \NC{} = 10 \NR
\NC 3x + 2y \NC{} = 5
appreciated!!
\starttext
\startformula
\frac{g_a}{\theta} =
\startcases[left={\left[},right={\right]}]
\NC \displaystyle
H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma -
\phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma}
- H_S \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot
a better way to deal with this kind of formulae in
ConTeXt?
Any help very much appreciated!!
\starttext
\startformula
\frac{g_a}{\theta} =
\startcases[left={\left[},right={\right]}]
\NC \displaystyle
\startcases[left={\left[},right={\right]},style=\displaystyle]
\NC
H_M \cdot z^{1 - \phi
with this kind of formulae in
ConTeXt?
Any help very much appreciated!!
\starttext
\startformula
\frac{g_a}{\theta} =
\startcases[left={\left[},right={\right]}]
\NC \displaystyle
H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma -
\phi} \cdot \frac{(1 - \phi) \cdot
If you are allowed to make some minor adjustments you may probably
even leave out most of the \cdot commands, which will turn the formula
even sleeker ...
Just my two cents,
Oliver
\starttext
\startformula
\frac{g_a}{\theta} =
\startcases[left={\left[},right={\right]}]
\NC
that $\hat{f}$ places the hat on f at the
wrong place and that { does not stretch (and probably much more) is
still there, try
%%%
\usetypescriptfile[type-wolfgang]
\usetypescript[utopia]
\setupbodyfont[utopia]
\starttext
\startformula
\hat f(x)=
\startcases
\NC x \MC x0\NR
\NC -x \MC x0\NR
(and probably much more) is
still there, try
%%%
\usetypescriptfile[type-wolfgang]
\usetypescript[utopia]
\setupbodyfont[utopia]
\starttext
\startformula
\hat f(x)=
\startcases
\NC x \MC x0\NR
\NC -x \MC x0\NR
\stopcases
\stopformula
\stoptext
%%%
Best regards, Mikael
On Thu, 30 Aug 2007, Mikael Persson wrote:
Hi all,
when using the fourier font I get the wrong size of the opening { in
the \startcases \stopcases environment. The following small example
shows the problem and it fails both at my place and at
http://live.contextgarden.net/
An easy
the wrong size of the opening { in
the \startcases \stopcases environment. The following small example
shows the problem and it fails both at my place and at
http://live.contextgarden.net/
An easy workaround, use texnasi encoding :-)
\usetypescript[fourier][texnansi]
Maybe a bug somewhere
On 8/30/07, Mikael Persson [EMAIL PROTECTED] wrote:
Hi all,
when using the fourier font I get the wrong size of the opening { in
the \startcases \stopcases environment. The following small example
shows the problem and it fails both at my place and at
http://live.contextgarden.net/
I
is placed wrongly. New minimal example that
shows both these problems:
\usetypescript[fourier][ec]
\setupbodyfont[fourier,10pt]
\starttext
\startformula
\hat f(x)=
\startcases
\NC 1 \MC x0\NR
\NC 0 \MC x0\NR
\stopcases
\stopformula
\stoptext
Any ideas? I don't want to switch back to ver
(x)=
\startcases
\NC 1 \MC x0\NR
\NC 0 \MC x0\NR
\stopcases
\stopformula
\stoptext
Any ideas? I don't want to switch back to ver 20070407 if it is not
necessary...
I'd try the latest version first. Normally I have my systems
configured with a separate
texmf-cont tree that I link
are also not in
math mode. This is because \startcases has two variants, with
\NC ... \NC
the second column is in text mode. So you can write
\NC i, \NC if $i = j$ \NR
The second variant is
\NC ... \MC
(MC = Math Column) in which the second column is in math mode. So you
can write
\NC i
[EMAIL PROTECTED] wrote:
Hi Wim,
On Fri, 4 Aug 2006, WN wrote:
I have a question about \startcases .. \stopcases.
I am trying to adjust the distance of the cases and the right brace, the
left brace is empty,
see example below. Is this possible ?
It is. You can do
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
I have a question about \startcases .. \stopcases.
I am trying to adjust the distance of the cases and the right brace, the
left brace is empty,
see example below. Is this possible ?
Kind regards
Hi Wim,
On Fri, 4 Aug 2006, WN wrote:
I have a question about \startcases .. \stopcases.
I am trying to adjust the distance of the cases and the right brace, the
left brace is empty,
see example below. Is this possible ?
It is. You can do it in different ways, depending on what you like
Hi Hans,
Can you provide some more features to \definematrix and
\definemathcases.
1. Allow \definematrix and \definemathcases to have a parameter
displaystyle or textstyle. Right now, everything is in textstyle.
Consider
\startformula
a = \startcases
\NC E = mc^2 \NC nothing
spacing in this case. May be useful otherwise.
\startformula
\startcases
\NC \widehat{\vec{x}} \MC= - \vec x \NR
\NC \widehat t\MC= t\NR
\stopcases
% Read MC as Math Column, there is also the usual NC
% which gives a text column
\quad \text{resp} \quad
\startcases
={\left\{}, right={\right.}, n=2,
align={left,left}]
will give us \startcases, \stopcases which works like \cases. Such a
feature will be very useful.
Is it possible to define left|right in such a way that
\definealign[important][left={\framed\bgroup},right={\egroup}]
results in a frame around
snipped ]
\placeformula \startformula \startcases
\NC 2 \NC $ y 0 $ \NR
\NC 7 \NC $ x = 7 $ \NR[+]
\NC 4 \NC otherwise \NR
\stopcases \stopformula
Not exactly. In this, I get two formula numbers, one for the case
`x=7' and the other for the entire equation. I can remove
\placeformula
correctly, then something like this
\definealign[cases][left={\left\{}, right={\right.}, n=2,
align={left,left}]
will give us \startcases, \stopcases which works like \cases. Such a
feature will be very useful.
Is it possible to define left|right in such a way that
\definealign[important][left
={\left\{}, right={\right.}, n=2,
align={left,left}]
will give us \startcases, \stopcases which works like \cases. Such a
feature will be very useful.
Is it possible to define left|right in such a way that
\definealign[important][left={\framed\bgroup},right={\egroup}]
results in a frame around
Hi,
I have tried with:
\startcases
..
\stopcases
and many others variations but I have got only errors.
Any hint?
Thanks.
jk
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
At 04:42 PM 9/12/2005, you wrote:
I have tried with:
\startcases
.. \stopcases
and many others variations but I have got only errors.
Any hint?
Much like the bmatrix environment, the cases environment is an AMSmath
package feature, and ConTeXt at present has very few of the direct
At 04:58 PM 9/12/2005, Brooks Moses wrote:
At 04:42 PM 9/12/2005, Jilani Khaldi [EMAIL PROTECTED] wrote:
I have tried with:
\startcases
.. \stopcases
and many others variations but I have got only errors.
Any hint?
Much like the bmatrix environment, the cases environment is an AMSmath
Bonjour à tous,
I'm using amsl module, but it seems there is a probleme
with the startarray/stoparray environment which apear with the t
type of column (t for text).
So the basic cases commande doesn't work.
Also the \startcases/stopcases should have the same meaning thas
\cases{xxx} has
]
\starttext
\placeformula[func]
\startformula
P_{r-j}=
\startcases
0, \text{if $r-j$ is odd}\\
r!(-1)^{(r-j)/2}, \text{if $r-j$ is even.}
\stopcases
\stopformula
\stoptext
You'll note that the spacing in the latter is not as good.
___
ntg-context
Friday, May 28, 2004 David Munger wrote:
Indeed, I used to like nath a lot, but as I pointed out in this
thread
http://www.ntg.nl/pipermail/ntg-context/2004/005306.html
there are bugs which prevent me from using it at the moment.
Yes, it's still in my TODO list. Sadly, I don't have
Tuesday, May 25, 2004 David Munger wrote:
Is there some way of telling startcases/stopcases to behave in
display
mode?
Yup, I just changed a couple of things and now we have a
\startbigcases ... \stopbigcases for this. Will upload new
version soon.
Oh, great! I'm really looking
Oh, great! I'm really looking forward to get this new version. By
the
way, would you be so kind to include some multiline equation
environment? Something like (or better than)
\[
first part of very long equation
\eqbreak
second part of very long equation
\eqbreak
third part of
Thursday, May 27, 2004 David Munger wrote:
Indeed, I used to like nath a lot, but as I pointed out in this thread
http://www.ntg.nl/pipermail/ntg-context/2004/005306.html
there are bugs which prevent me from using it at the moment.
Yes, it's still in my TODO list. Sadly, I don't have enough
Thursday, May 20, 2004 David Munger wrote:
Hello Giuseppe,
I'm having a little trouble with the cases in amsl.
Compiling this:
\[
f(x) =
\startcases
0 \text{if $x -\epsilon$} \\
\frac12 \text{if $x \epsilon$}
\stopcases
\]
results in an error around
Is there some way of telling startcases/stopcases to behave in
display
mode?
Yup, I just changed a couple of things and now we have a
\startbigcases ... \stopbigcases for this. Will upload new
version soon.
Oh, great! I'm really looking forward to get this new version. By the
way, would you
Hello Giuseppe,
I'm having a little trouble with the cases in amsl.
Compiling this:
\[
f(x) =
\startcases
0 \text{if $x -\epsilon$} \\
\frac12 \text{if $x \epsilon$}
\stopcases
\]
results in an error around the \frac. Changing it to \dfrac makes the
input compile ok
had forgotten to tell you that
I wanted to consider the \cases{...} construct obsolete!
The 'proper' (i.e. AMS-style) way to do it would be
\startcases
1 \text{if etc } \cr
0 \text{otherwise}
\stopcases
This will work, with or without nath (but of course with amsl).
Anyway, since I know how hard
88 matches
Mail list logo